package com.xuecheng.content.service;

import com.xuecheng.api.content.model.dto.CourseTeacherDTO;
import com.xuecheng.api.content.model.dto.TeachplanDTO;
import com.xuecheng.common.domain.page.PageRequestParams;
import com.xuecheng.common.domain.page.PageVO;
import com.xuecheng.content.entity.CourseTeacher;
import com.baomidou.mybatisplus.extension.service.IService;
import io.swagger.annotations.ApiOperation;

import java.util.List;

/**
 * <p>
 * 课程-教师关系表 服务类
 * </p>
 *
 * @author itcast
 * @since 2021-12-15
 */
public interface CourseTeacherService extends IService<CourseTeacher> {


    /**
     * 查询课程教师信息
     * @param courseId  Long   课程id
     * @param companyId Long 教学机构ID
     * @return  List
     */
    List<CourseTeacherDTO> queryTeacherList(Long courseId, Long companyId);


    /**
     * 创建或修改教师基本信息
     * @param dto   CourseTeacherDTO 教师基本信息Dto封装类
     * @param companyId Long 公司id
     * @return
     */
    CourseTeacherDTO createOrSetTeacher(CourseTeacherDTO dto, Long companyId);


    void romeCourseTeacher(Long courseId, Long courseTeacherId,Long companyId);
}
